FROM harbor.k2software.com.cn/build/openjdk:8-alpine

ADD target/k8s.jar /opt/app.jar

EXPOSE 8080

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/opt/app.jar"]